<div id="div_agents_manager_personnel_dialog"><div id="div_agents_manager_personnel_tree"></div></div>

<div class="sendTitleDiv marginleft10">
    <a href="__APP__/App/app.shtml">App管理</a>
</div>
<div class="margintop20 floatRightDiv marginright80">
    <form action="__URL__/app.shtml"  method="post">
        <div class="floatLeftDiv marginleft50">
            <!--            <input type="hidden" name="release" value="{$release }"/>
                        <input type="hidden" name="type" value="{$type }"/>
                        <input type="text" name="app_name" value="{$appName }" class="buttonStyle" />
                        <input type="submit" value="搜索" class="buttonStyle" />
            
                        <input id="btn_app_add_page" type="button" value="添加" class="buttonStyle" />-->
        </div>
    </form>
</div>
<div class="tableInfoDiv margintop10">
    <table id="table_agents_manager">
        <tr>
            <td>
                用户昵称
            </td>
            <!--<td>
                是否为精品推荐
            </td>-->
            <td>
                评论内容
            </td>
            <td>
                功能
            </td>
        </tr>
        <volist name="list" id="l">
            <tr>
                <td>
            <empty name="l.nick_name">匿名<else/>{$l.nick_name }</empty>
            </td>
            <td>
                <a href="javascript:;" title="{$l.comment}">{$l.comment|msubstr=0,30 }</a>
            </td>
            <td>
                <a href="#" t_id = "{$l.id }" class="a_type_delete">删除</a>/
                <a href="__APP__/App/appCommentReply/id/{$l.id }/app_id/{$app_id }.shtml" class="a_type_comment">回复</a>
            </td>
            </tr>
        </volist>
    </table>
</div>
<div class="clear"></div>
<div id="div_news_page_list" class="margintop10">
    <div class="sabrosus">
        {$show }
    </div>
</div>
<form id="frm_hidden_app" action="__URL__" method="post">
    <input type="hidden" name="type" value="{$type }" />
</form>

<div id="div_type_dialog" rootTypeId ="" childTypeId =""></div>


<script>
    $(function(){
        $("#table_agents_manager a.a_type_delete").click(function(){
            if(confirm('确定要删除吗？')){
                $.util.initHiddenFormSubmit($('#frm_hidden_app'),SYSTEM_DATA.contextPath + '/App/deleteAppComment.shtml',  [{
                        'name' : 'id', 
                        'value' : $(this).attr('t_id')
                    },{
                        'name' : 'app_id', 
                        'value' : '{$app_id }'
                    }]);
            }
        });
    });
</script>


